<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>会员信息服务</title>
    <%@ include file="/commons/static.jsp"%>
</head>

<body>
    
    <div class="wapper">
                <!-- 面包屑导航 -->
                <div class="page-breadcrumbs">
                    <ul class="breadcrumb">
                        <li>
                            <i class="fa fa-home"></i>
                            <a href="index.html">首页</a>
                        </li>
                        <li class="active">
                          <a href="###">会员信息管理</a>
                        </li>
                        <li class="active">
                          会员家庭服务
                        </li>
                    </ul>
                </div>
                <!-- /面包屑导航-->
                <!--头部按钮-->
                
                 <div class="col-lg-12 col-sm-12 col-xs-12 col-md-12">
                      <div class="row">
                        <div class="col-xs-12 col-md-12">
                            <div class="widget">
                                <div class="widget-body">
                                    <div class="table-toolbar">
                                       
                                        <a href="javascript:void(0);" onclick="delAll()" class="btn btn-darkorange col-padd"   >
                                           <i class="fa fa-minus"></i>批量删除
                                        </a>
                                         <a href="${ctx }/family/toAdd" class="btn btn-blue col-padd"  >
                                           <i class="fa fa-plus"></i>新增家庭
                                        </a>
                                        <form id="hiddens"  action="${ctx }/family/index" method="post">
                                         <div class="col-sm-2 col-padd">
                                                <span class="input-icon">
                                                    <input name="searchVal" placeholder="手机号/家庭名称"  onkeydown="checkForm()" value="${re }" type="text" class="form-control input-sm borderrdu "  style="border-radius:30px!important;">
                                                    <i class="glyphicon glyphicon-search blue"></i>
                                                </span>
                                          </div>
                                        </form>
                                    </div>
                                   <table class="table table-striped table-hover table-bordered"  id="bodyHtml" >
                                        <thead>
                                            <tr role="row">
                                                <th >
                                                   <label>
                                                        <input id="hvtck" type="checkbox" >
                                                        <span class="text" id="dohovertree"></span>
                                                    </label>
                                                </th>
                                                <th >
                                                   家庭编号 <span class="fa indicator fa-unsorted"></span>
                                                </th>
                                                <th >
                                                    家庭名称 <span class="fa indicator fa-unsorted"></span>
                                                </th>
                                                <th >
                                                    户主名称 <span class="fa indicator fa-unsorted"></span>
                                                </th>
                                                <th >
                                                    联系电话 <span class="fa indicator fa-unsorted"></span>
                                                </th>
                                                <th >
                                                   家庭成员 <span class="fa indicator fa-unsorted"></span>
                                                </th>
                                                                                                                                                                                                                                                                                                             
                                                <th >
                                                   操作 <span class="fa indicator fa-unsorted"></span>
                                                </th>
                                            </tr>
                                        </thead>

                                        <tbody>
                                           <c:forEach items="${data.list }" var="item" varStatus="i">
                                            <tr>
                                           <td >
                                                    <label>
                                                        <input id="${item.id }" type="checkbox" name="myHoverTreechk">
                                                        <span class="text"></span>
                                                    </label>
                                            </td>
                                                <td ><input type="text"class="six"   value="${item.code }"  disabled="disabled"></td>
                                                <td ><input type="text" class="six"  value="${item.name }" class="namese" disabled="disabled"></td>
                                                <td ><input type="text" class="six"   value="${item.masterName }"  disabled="disabled"></td>
                                                <td >
                                                  <input type="text" class="six"   value="${item.phone }"  disabled="disabled">
                                                </td>
                                                <td  ><input type="text" id="jsonReturn${i.index }" class="six"  value='${item.family_people }'  disabled="disabled"></td>
                                               
                                                <td  >
                                                    <a href="${ctx }/family/toLook/${item.id}/1/see" style="float: none;" class="btn btn-ck btn-xs edit  col-lg-3 col-md-3 col-sm-12 col-xs-12"><i class="fa fa-folder-open-o"></i> 查看</a>
                                                    
                                                    <a href="${ctx }/family/toLook/${item.id}/2/see" style="float: none;" class="btn btn-info btn-xs edit  col-lg-3 col-md-3 col-sm-12 col-xs-12"><i class="fa fa-pencil"></i> 修改</a>
                                                    <a onclick="del('${item.id}')" href="javascript:void(0);" style="float: none;" class="btn btn-danger btn-xs removeClass  col-lg-3 col-md-3 col-sm-12 col-xs-12"><i class="fa fa-trash-o"></i> 删除</a>
                                                </td>
                                            </tr>
                                           </c:forEach>
                                        
                                            
                                        </tbody>
                                     </table>
                                    <%@ include file="../def/common_pagebar.jsp" %>
                                    </div>
                                    
                                </div>
                            </div>
                            
                        </div>
                         
                    </div>
                    
                 </div>
               
            </div>
            <!-- /右侧内容 -->
        </div>
  </div>
  <script src="${ctx}/home/member/vip_family.js"></script>
</body>

</html>
